<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <style type="text/css">
        .js-file {
            cursor: pointer;
        }

        .js-file > span {
            cursor: pointer;
        }

        .filename {
            padding-top: 10px;
            white-space: nowrap;
            display: inline-block;
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 0px; height: 100%">
    <div class="main-container container-fluid" style="height: 100%">
        <div class="page-container" style="height: 100%">
            <div class="page-breadcrumbs">
                <span class="glyphicon glyphicon-floppy-disk" style="padding-left: 20px;"></span>
                <ul class="breadcrumb" id="rootpathdiv" style="display: inline-block;">
                </ul>
                <div style="display: inline-block; float: right; padding-right: 20px;">
						<span class="input-icon" style="display: inline-block; width: 70%;"> <input type="text" class="form-control input-sm"> <i
                                class="glyphicon glyphicon-search blue"></i>
						</span> <span style="display: inline-block;"> <a href="javascript:void(0);" class="btn btn-darkorange btn-sm">${i18n('system.search')}</a>
						</span>
                </div>
            </div>
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px; height: 100%">
                <div class="col-md-2 col-sm-2 col-xs-12" style="padding: 0px;height: 100%;">
                    <div class="widget flat radius-bordered" style="margin-top: 0px;height: 100%;">
                        <div class="widget-header bg-lightred">
                            <span class="widget-caption">硬盘目录</span>
                        </div>
                        <div class="widget-body" style="overflow: auto;height: 95%;">
                            <ul id="tree" class="ztree"></ul>
                        </div>
                    </div>
                </div>
                <div class="col-md-10 col-sm-10 col-xs-12" style="padding: 0px; height: 100%">
                    <div class="bs-glyphicons" style="height: 100%; background-color: #ccc" id="fileList">
                        <div class="col-md-6 col-sm-6 col-xs-12 col-md-offset-3" style="margin-top: 50px;" id="titdiv">
                            <div class="well bordered-top bordered-bottom bordered-pink">
                                <h4 class="block">消息提示</h4>
                                <p>请先选择左侧文件目录</p>
                            </div>
                        </div>
                        <ul class="bs-glyphicons-list" style="height: 100%">
                            <div class="alert alert-danger fade in radius-bordered alert-shadowed" style="bottom:20px;position: absolute;width:100%">
                                <button class="close" data-dismiss="alert">
                                    ×
                                </button>
                                <i class="fa-fw fa fa-times"></i>
                                <strong>注意!</strong> 请先选择左侧文件目录
                            </div>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true" id="createFolderModal">
    <div class="modal-dialog modal-sm">
        <div class="modal-content">

            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="mySmallModalLabel">创建文件夹</h4>
            </div>
            <form id="form1">
                <div class="modal-body">
                    <input type="text" class="form-control" id="folderName" placeholder="文件夹名称">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                    <button type="button" class="btn btn-primary js-createFolderBtn">${i18n('ok')}</button>
                </div>
            </form>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>

<div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true" id="createFileModal">
    <div class="modal-dialog modal-sm">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="mySmallModalLabel">新文件</h4>
            </div>
            <form id="form2">
                <div class="modal-body">
                    <input type="file" size="1" id="attach" name="attach" class="form-control" multiple="multiple" placeholder="请选择文件">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                    <button type="button" class="btn btn-primary js-createFileBtn">${i18n('ok')}</button>
                </div>
            </form>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>

<div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true" id="fileRenameModal">
    <div class="modal-dialog modal-sm">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="mySmallModalLabel">文件新名称</h4>
            </div>
            <form id="form3">
                <div class="modal-body">
                    <input type="text" size="1" id="newFileName" name="newFileName" class="form-control" placeholder="文件扩展名不变">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                    <button type="button" class="btn btn-primary js-renameFileBtn">${i18n('ok')}</button>
                </div>
            </form>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>

<div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true" id="fileFolderRenameModal">
    <div class="modal-dialog modal-sm">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="mySmallModalLabel">文件夹新名称</h4>
            </div>
            <form id="form4">
                <div class="modal-body">
                    <input type="text" size="1" id="newFileFolderName" name="newFileFolderName" class="form-control" placeholder="文件夹新名称">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                    <button type="button" class="btn btn-primary js-renameFileFolderBtn">${i18n('ok')}</button>
                </div>
            </form>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>

<div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true" id="fileInfoModal">
    <div class="modal-dialog modal-sm">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="mySmallModalLabel">文件夹信息</h4>
            </div>
            <form id="form4">
                <div class="modal-body">
                    <div class="form-group">
                        <label>文件大小(KB)</label>
                        <input type="text" class="form-control" id="fileSize" placeholder="Default Input" disabled="disabled">
                    </div>
                    <div class="form-group">
                        <label>子文件个数(个)</label>
                        <input type="text" class="form-control" id="folderCount" placeholder="Default Input" disabled="disabled">
                    </div>
                    <div class="form-group">
                        <label>包含文件个数(个)</label>
                        <input type="text" class="form-control" id="fileCount" placeholder="Default Input" disabled="disabled">
                    </div>
                    <div class="form-group">
                        <label>最后修改时间</label>
                        <input type="text" class="form-control" id="modifiedTime" placeholder="Default Input" disabled="disabled">
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('system.close')}</button>
                </div>
            </form>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
<div id="bootstrapMenu"></div>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/bootstrap-menu/BootstrapMenu.min.js"></script>
<script type="text/javascript" src="/gobal/js/page/file/netdisk.js"></script>
</body>
</html>
